import { ContainerService } from "shared/component/container/ContainerService";
import Log4R from "shared/component/log/Log4R";
const loginfo = Log4R.getLog('info');
export class SoundServiceImpl extends ContainerService<Ctn.SoundService, Ctn.SoundEntity> implements Ctn.SoundService {
    protected serverCalls: (keyof this)[] = [];
    protected serviceName: keyof Ctn.Services = "soundService";
    addCharacter(characterEntity: Ctn.character.PlayerCharacterEntity) {
        if (characterEntity.player && characterEntity.character)
            game.GetService('SoundService').SetListener(Enum.ListenerType.ObjectPosition, characterEntity.character.HumanoidRootPart)
    }
}